package eventfax.core
trait ConnectionFactory {
  var connection_block: (Connection => Unit) = null
  def create_connection(): Connection
  def set_block(conn_block: Connection => Unit)  {
    this.connection_block = conn_block
  }
}

// trait ConnectionFactory {
//   type T <: Connection;
//   def create_connection(): T
// }
